package br.unifesp.lma.chamada.controller.sobre;

import java.util.ArrayList;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@RequestMapping(value = "/sobre")
@Controller
public class SobreController {

	@Autowired
	@Qualifier("sobreApp")
	private ArrayList<?>	sobre;

	@RequestMapping(method = RequestMethod.GET)
	public String sobre(Model uiModel) {
		uiModel.addAttribute("sobre", sobre);
		uiModel.addAttribute("active", "sobre");
		return "sobre";
	}

}
